package com.lyt.reggie.common;

/**
 * Author:李雨涛
 * Date:2023-02-26-11:12
 * 描述：
 */
public class BaseContext {
    private static ThreadLocal<Long> threadLocal=new ThreadLocal<Long>();
    public static void setCurrentId(Long id){
        threadLocal.set(id);
    }
    public static Long getCurrentId(){
       return threadLocal.get();
    }
}
